package avriServer.channel;

public class NonexistantChannelException extends Exception {
	private String error = "";
	public NonexistantChannelException(String _channelName) {
		if (_channelName == null)
			_channelName = "channel null";
		this.error = "Unexistant channel ("+_channelName+")";
	}
	public NonexistantChannelException() {
		this.error = "Unexistant channel";
	}
	public String toString() {
		return this.error;
	}
}